package com.wonder.app.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @Description:TODO(生产退料单实体类)
 *
 * @author: Wonder
 *
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_prd_instock")
@ApiModel(value="t_prd_instock对象", description="生产退料单")
public class PrdInstock extends Model<PrdInstock> {
    @TableId(value ="id", type = IdType.AUTO)
    @ApiModelProperty(name = "id" , value = "编号")
    private Long id;

    @TableField(value = "FBillNo")
    @ApiModelProperty(name = "FBillNo" , value = "单据编号")
    private String FBillNo;

    @TableField(value = "FKDBILLNO")
    @ApiModelProperty(name = "FKDBILLNO" , value = "金蝶单据编号")
    private String FKDBILLNO;

    @TableField(value = "FBILLNOMO")
    @ApiModelProperty(name = "FBILLNOMO" , value = "生产订单单据编号")
    private String FBILLNOMO;

    @TableField(value = "FDATE")
    @ApiModelProperty(name = "FDATE" , value = "审核时间")
    private Date FDATE;

    @TableField(value = "FCREATEUSER")
    @ApiModelProperty(name = "FCREATEUSER" , value = "创建人")
    private String FCREATEUSER;

    @TableField(value = "FSTATE")
    @ApiModelProperty(name = "FSTATE" , value = "单据状态")
    private String FSTATE;

    @TableField(value = "FWORKSHOPNO")
    @ApiModelProperty(name = "FWORKSHOPNO" , value = "创建人")
    private String FWORKSHOPNO;

    @TableField(value = "FWORKSHOPNAME")
    @ApiModelProperty(name = "FWORKSHOPNAME" , value = "创建人")
    private String FWORKSHOPNAME;

    @TableField(value = "CreateTime")
    @ApiModelProperty(name = "CreateTime" , value = "单据日期")
    private Date CreateTime;

    @TableField(value = "FSTOCKPEL")
    @ApiModelProperty(name = "FSTOCKPEL" , value = "备注")
    private String FSTOCKPEL;

    @TableField(value = "ISQUALITY")
    @ApiModelProperty(name = "ISQUALITY" , value = "是否质检")
    private Boolean ISQUALITY;

    @TableField(value = "PROPLANNO")
    @ApiModelProperty(name = "PROPLANNO" , value = "工序计划单号")
    private String PROPLANNO;

    @TableField(value = "QUALITYNAME")
    @ApiModelProperty(name = "QUALITYNAME" , value = "质检人员")
    private String QUALITYNAME;

    @TableField(value = "QUALITYTIME")
    @ApiModelProperty(name = "QUALITYTIME" , value = "质检时间")
    private Date QUALITYTIME;

    @TableField(value = "AUDITTIME")
    @ApiModelProperty(name = "AUDITTIME" , value = "审核时间")
    private Date AUDITTIME;

    @TableField(value = "AUDITUSERNAME")
    @ApiModelProperty(name = "AUDITUSERNAME" , value = "审核人")
    private String AUDITUSERNAME;

    @TableField(value = "FQTY")
    @ApiModelProperty(name = "FQTY" , value = "入库数量")
    private Double FQTY;

    @TableField(value = "REPORTNO")
    @ApiModelProperty(name = "REPORTNO" , value = "汇报单号")
    private String REPORTNO;

    @TableField(value = "TRAYNO")
    @ApiModelProperty(name = "TRAYNO" , value = "托号")
    private String TRAYNO;
}
